/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
//import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class WebchatCustomer {
    @NotNull
    private final String appID;
    @NotNull
    private final String corpId;
    @NotNull
    private final String url;

    public WebchatCustomer(@NotNull String appID, @NotNull String corpId, @NotNull String url) {
        Intrinsics.checkNotNullParameter(appID, "appID");
        Intrinsics.checkNotNullParameter(corpId, "corpId");
        Intrinsics.checkNotNullParameter(url, "url");
        this.appID = appID;
        this.corpId = corpId;
        this.url = url;
    }

    public static /* synthetic */ WebchatCustomer copy$default(WebchatCustomer webchatCustomer, String str, String str2, String str3, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            str = webchatCustomer.appID;
        }
        if ((i2 & 2) != 0) {
            str2 = webchatCustomer.corpId;
        }
        if ((i2 & 4) != 0) {
            str3 = webchatCustomer.url;
        }
        return webchatCustomer.copy(str, str2, str3);
    }

    @NotNull
    public final String component1() {
        return this.appID;
    }

    @NotNull
    public final String component2() {
        return this.corpId;
    }

    @NotNull
    public final String component3() {
        return this.url;
    }

    @NotNull
    public final WebchatCustomer copy(@NotNull String appID, @NotNull String corpId, @NotNull String url) {
        Intrinsics.checkNotNullParameter(appID, "appID");
        Intrinsics.checkNotNullParameter(corpId, "corpId");
        Intrinsics.checkNotNullParameter(url, "url");
        return new WebchatCustomer(appID, corpId, url);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof WebchatCustomer)) {
            return false;
        }
        WebchatCustomer webchatCustomer = (WebchatCustomer) obj;
        return Intrinsics.areEqual(this.appID, webchatCustomer.appID) && Intrinsics.areEqual(this.corpId, webchatCustomer.corpId) && Intrinsics.areEqual(this.url, webchatCustomer.url);
    }

    @NotNull
    public final String getAppID() {
        return this.appID;
    }

    @NotNull
    public final String getCorpId() {
        return this.corpId;
    }

    @NotNull
    public final String getUrl() {
        return this.url;
    }

    public int hashCode() {
        return (((this.appID.hashCode() * 31) + this.corpId.hashCode()) * 31) + this.url.hashCode();
    }

    @NotNull
    public String toString() {
        return "WebchatCustomer(appID=" + this.appID + ", corpId=" + this.corpId + ", url=" + this.url + ')';
    }
}